<?php

/**
 * @copyright   FOSP
 * @version     20120327
 * @todo        Abstract access statictis table
 * @name        Fpt_Business_Statictis_Adapter_Abstract
 * @author      QuangTM 
 */
abstract class Fpt_Business_Statictis_Adapter_Abstract
{
    /**
     *
     * @var Fpt_Business_Statictis_Adapter_Abstract
     */
    protected static $instance;

    protected function __construct()
    {
        
    }

    /**
     * Get Fpt_Business_Statictis_Adapter_Mysql's instance
     * @return Fpt_Business_Statictis_Adapter_Mysql
     * @author QuangTM
     */
    abstract public static function getInstance();
    /**
     * Get list article like by site thethao
     * @param int $limit
     * @return array|boolean
     * @author QuangTM 
     */
    public function getListArticleLikeBySiteID($limit = 10)
    {
        return FALSE;
    }
    /**
     * Get list article by comment
     * @param int $limit
     * @return array|boolean
     * @author QuangTM 
     */
    public function getListArticleByComment($limit = 10)
    {
        return FALSE;
    }
    /**
     * get list article by view
     * @param int $limit
     * @return array|boolean
     * @author QuangTM 
     */
    public function getListArticleByView($limit = 10)
    {
        return FALSE;
    }
}